home *** CD-ROM | disk | FTP | other *** search
- function onEnterFrame()
- {
- if(_alpha > 0 and this.hitTest(_parent._parent._parent.STAGE))
- {
- this._x += xSpeed;
- this._y += ySpeed + drop;
- xSpeed /= 1.1;
- ySpeed /= 1.2;
- drop++;
- _alpha = _alpha - 20;
- }
- else
- {
- this.removeMovieClip();
- }
- }
- xSpeed = random(60) - 30;
- ySpeed = random(60) - 40;
- _xscale = random(50) + 50;
- _yscale = _xscale;
- drop = 0;
- _alpha = 400;
-